import { Module } from '@nestjs/common';
import { MenuService } from './menu.service';
import { MenuController } from './menu.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Menu } from './entities/menu.entity';
import { Action } from './entities/action.entity';
import { RoleAdmin } from 'src/admin/entities/roleAdmin.entity';
import { Auth } from 'src/role/entities/auth.entity';
import { Role } from 'src/role/entities/role.entity';
import { RoleModule } from 'src/role/role.module';
@Module({
  imports: [
    TypeOrmModule.forFeature([Menu, Action, RoleAdmin, Auth, Role]),
    RoleModule
  ],
  controllers: [MenuController], 
  providers: [MenuService]
})
export class MenuModule {}
